package com.zmk.home.ui;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.alibaba.android.arouter.launcher.ARouter;
import com.zmk.common.Path;
import com.zmk.home.R;

@Route(path = Path.PATH_COMMON)
public class HomeActivity extends AppCompatActivity {

    private Button actBtn1;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_home);

        actBtn1 = (Button) findViewById(R.id.act_btn1);

        actBtn1.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                ARouter.getInstance().build(Path.PATH_APP).navigation();
            }
        });
    }
}
